package com.zhou.service;

import com.zhou.entity.PageResult;
import com.zhou.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void deleteById(Integer id);

    public void edit(Setmeal setmeal, Integer[] checkGroupIds);

    public Setmeal findById(Integer id);

    List<Integer> findCheckGroupIdsBySetmaealId(Integer id);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();
}
